<?php
	
	// 1. Gửi email
	$linkEmail = 'onclick="sendEmailAll()"';
	$btnEmail = $this->cmsButton ( 'Gửi email', $linkEmail, $this->imgUrl . '/toolbar/icon-32-messaging.png', 'script' );
	
	// 2. Lấy danh sách
	$linkDanhsach = 'onclick="openDanhsach()"';
	$btnDanhsach = $this->cmsButton ( 'Danh sách', $linkDanhsach, $this->imgUrl . '/toolbar/icon-32-upload.png', 'script' );
	
	$divider = '<div class="divider"> </div>';
	
	switch ($this->arrParam['action']){
		
		case 'index': $strBtn 	= 	$btnEmail . $divider . $btnDanhsach;
					 				break;
		
		default: $strBtn = '';
	}
	
	//Icon toolbar
	$IconToolbar = 'icon-48-massemail';
?>
<div class="block_toolbar goc5">
	<div class="toolbar">
		<?php echo $strBtn;?>
		<div class="clr"></div>
	</div>
	<div class="header <?php echo $IconToolbar;?>"><?php echo $this->Title;?></div>
	<div class="clr"></div>
</div>